Adds tests and travis integration