fixed failing spec test, should fix travis build