Implemented some test methods.