modify blog and authorization factories to remove 'rand' and create some authorization unit tests