fixed code_sequence_tests