fix to get_test_by_id function

be sure to specify the testsuite too