Add tests for `in' and `reverse'