Fix test for rmagic + pandas DataFrame