add a test and a travis yml