learn how to do a test class