[Tests] Refactor tests (do not use assert but assertEquals/assertTrue) and updated travis to do the tests too