Renamed TestgetParent to TestGetParent to enable testing for it.
Aded defout variable which defines the default output writer.
Added TestGetParentOutput which tests if the child gets the same writer as its parent.
Added TestGetParentOutputDifferent that checks that setting the output works correctly.
Added TestGetParentOutputInheritance which checks if the inheritance of the output writer works properly if the child already was defined.