test new and delete view of database
added test for database create view