create all model and controller test classes and defined some more test cases.