Tests and fixes for atomic.createCharacter()
Merge branch 'create-character-changes'