Update UndoCommandTest to get error message from Messages and remove unnecessary imports
Update UndoCommandTest to get error message from Messages and remove unnecessary imports

CS2103AUG2016-W14-C4/main