Testing dynamic within dynamic. Bugfixes