Fix test suite for SWI V7

I may need to rethink the rfc3339 API.  It's convenient to pass a double
quoted string so maybe it should support string objects internally by
automatically converting between codes and string objects.