Added tests for create_view and delete_view