test(helpers): get rejection reason in right format