fixed compilation error of test class