test now fixed to pass locally and on Travis