[JBIDE-15581] added RestService tests for PATCH- and HEAD-links