Added unit tests to controllers/hud