Added tests for delete

added get user to view