tweaked test to get it working on travis