use json library
add test for TravisData class