delete test_id function