add some condtion tests to make the conf more platform free