Makes tests more cross platform safe and adds CI configs.