Slapped
added test cases for view method
removed unnecessary functions.
Slapped
Merge branch 'master' of https://github.com/cs2103aug2014-t17-2J/main