coverage for generic REST exception case