write some tests for AQJSONAdapter