Added more tests and adjusted tests to allow random users to be tested through loops