These tests are to resolve the concerns about relying on the tested behaviors, that were brought up at https://gitlab.winehq.org/wine/wine/-/merge_requests/4060#note_48218.
-- v2: msvcrt/tests: Add tests for wcsdup. msvcrt/tests: Check errno after strdup(NULL).