Basic test coverage
Refactor tests
Remove coucdb dump