change the internal user id to a long. add some assertions to the test.