Eliminated global ComponentRegistry and World instances from the tests

This allows to get rid of side effects of one test on another