Changing mechanism for running tests to an executable that uses the os headers