Add tests of Queue Manager