finished test class, implemented methods