Fixed remaining bugs, added TestDynamicComponent.