Added failing test and fixed bug associated with implicit type conversion of nils from force encoded strings
Tiny fix so new test only runs when Encoding is defined
Merge pull request #44 from brocktimus/encoding_bug_squashed

Fix for issue #33