Fixes #1053

- Update #ifNotEmpty:, #ifEmpty:ifNotEmpty:, and ifNotEmpty:#ifEmpty: to take self as an optional argument to the ifNotEmpty: block
- Add tests to testIfEmptyFamily