add test for displaying the result