Issue 13786: Add test case to cover version.c.

Partial fix for: https://issues.dlang.org/show_bug.cgi?id=13786

The plan is to add more tests to `test13786.d` related to dmd code coverage.