[TEST] test adjusted for API change