Added missing 'do' statement - tests pass now.