Set the attach parent.

Setting happens in a separate function now. At the moment I see no necessity for setting a different AttachParent than the actual parent.
Added test objects