refait clone pattern 6 test class