Updated tests.
Add testing for OsDetectionRuntimeImpl.
Fix test execution in maven.