add unit tests for is_valid_circuit_id

Trac:
Username: robinson