[DO NOT MERGE] Test db encoding travis

Do not write to stdout. Use Rails' logger if you want to log.