Implements thorough test case for iconv

Tests all three code paths:
 * `iconv` is installed
 * `iconv-lite` is installed
 * nothing is installed