Add tests for PassManagers