fixed test to pass travis-ci checks