Fails to handle parameter type of 'unicode'

Fixed and added a test.