bug fixes, add tests for push/pull/clone, add travis-ci