add tests and reconfigure travis