Added inheritance empty pattern test