writing test for show page