Fixed broken create_view and delete_view
Added tests for create_view and delete_view