adds test setup

adds a single test and sets up travis configuration