TST/BUG: adhere to the API change in test_frame.py