Create test cases for all controllers #28
Moved MembershipControllerTest and ModuleControllerTest to use BaseControllerTest.
Modified MembershipController and ModuleController to fulfil coding standard.