updated tests for new json