Add test facility to the UI folder
Commit unit test for MVC, and a few changes to MVC