Add junit coverage to request handler exceptions