Added test classes and a main testing class