add new tests
add market id to pretty-print