adding tests for the JsonReader, that replaced the trait