updates to test scripts, remove unneeded json function