added test for display/1 and test and code for display/2