fix gradebook tests

users were created with conflicting IDs.
fix by using UserFactory sequence instead of custom sequence.

string comparison was failing (unicode problems?)
fix by converting both with str()

Reviewers: @wedaly @jzoldak