fixed TEST_REQUIRES bug