Add tests for private `_and-or` module