added travis support and tests.