Based on what I see, in the first case the test did not fail. It was skipped (becasue you did not have utf8::all installed).
After installing it the test was executed and passed.
This is the normal and expected behavior, but on Windows the second one crashes. (With nasty popup offering to report to Microsoft)