updated tests to easily switch between platform environments