add travis and all test, see #1