Add missing tests; configure git for travis.

Fix travis failing builds