Updated tests to work, added a failing case and also added travis support.