#335 Add tests for Windows 8.1

Superset of #420.

Fixes #335