Add test_imshow() function.