Fixed throwing exceptions from blocks

Fixed .inherits unit tests