Fail on unknown OS
Add unit tests for main class