wrap C string in std::string as workaround to fix tests

This PR fixes the tests. Commit 295fe45 broke the tests with the change from NanCString to NanAsciiString. It appears that the C strings returned from these functions differ. I didn't dig too deep into the code but string lengths were wrong for some reason. Wrapping the C string into std::string is a workaround that fixes the issue.