Added or revamped ComponentRegistry and JsonProcessor tests.