Fix test method visibility