update test to read JSON from file in resources folder