updated tests to use test json