Finish the last four classes and test cases

完成了最后四个类及测试用例