add tests for number display. Closes #291