register threads
test json : update format
handle return code in tests
travis update for testrunner