Add tests for the app class.
Remove assert and test the range class.