Add check for presence of testSubproject method