added tests and method which set user as admin before creation if there is no users in database