wrote a few qunit tests checking json objects received.