Fixed unnamespaced code in UI and made minor changes to how some code was referencing other parts of the namespace
Added @covers notations to UI Unit tests and added some more test functions. Part of #781