more tests, partially implemented sync, adding travis integration for running unit tests