Format test classes