test class rewrite on linux