Added assertion to code
Completed undohandler test
Added test case for flexible command
Comments for test case
Merge branch 'master' of https://github.com/cs2103aug2014-t17-2J/main