added some more spec tests to view