add: tests for singletons with cyclic dependencies