Fix failing test: Remove get_active_codes_count assertion