Fixed deleting last admin users and more tests