Add basic tests for objects.
Setup Travis builds.