Fix test class