added tests for viewing, creating and deleting data