add tests of views for '/' and '/?json'