[tests/json] Move fail file to subdir
[backends/rbcommon] Properly exit