test: add some tests for -a and -o
Merge pull request #423 from Arcterus/test-tests

test: add some tests for -a and -o