made test platform independent