Correction of unit tests for branch JSON representation