Added test methods and initial test method.