adds tests for display and stopDisplay