Improvements to unit tests. read JSON from file and mockStatic class instead of using wrapper class