change test to x_frame