formate test class