remove references to JSON
testcase updates for max min edge cases

remove tactical code