Add tests for ajax views; All tests pass [MJ-131]