adds tests and to travis