Started to add unit tests to management controller