Added tests for delete dependency to user model spec