The add_test_common() function requires the TEST_CASE variable to be defined. It fixes regression introduced by b969cb5f.