FLUID-4939: test case for circular grades.

Added a test case that shows the issue when a component adds a grade, that also contained the component itself as a grade. The init functions here are also fired multiple times.