unit tests on manager