TDD Cycle 1: made it raise an error when no block is given