[refactoring] added test for get deployed head teachers