update travis and add a test