Fix dict dump test
Refactor one test
Add Travis configuration