Add tests and re-enable travis + coveralls