string encoding tests included