added test #10

test: should be able to throw an error when trying to save a user with the same username