Add unit-test for complex os filters
Fix parsing of complex os constraints