Adding new test class for delete and view