Fix unit tests for travis
Fix sample config