Fixes tests for modified JsonRpc controller