Bugfix on inherit private magic methods

Can actually be moved to the magic methods test