fix for travis-ci unit tests.