excluding basestring/str code from coverage, as it is untestable