Tiny work towards automated tests
Work on views test cases and some formatting