Add test for manager.py