test: add some tests for -a and -o