implement test methods