Make titlecase tests py3k-compatible

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>