Manager Unit testing and Reports fix

Aded some unit testing to manager UI.
Fixed the reports class to load from database instead of localhost only.
in assistant manager fixed where reports were never loading.
Corporate unit tests and reports fix