Added logict to create UnitTestresult specifically for each platform