Use the right key classes
Use unicode format string
Use the right key attribute names
Use ModuleStoreTestCase
Fix typo
More test cleanup