Refactored byte buddy to check if the subclass instance is an interface. Added test that validates the generated byte code of a subclas context delegate.