Unit test pass locally, but not sure why it is not in Travis