FLUID-5371, FLUID-5375: Test cases for new model relay directives "forward" and "backward" as well as fixes for IoC testing framework interaction with new relay grades