BUG: fix expand_frame_repr
TST: add test for display option expand_frame_repr