all tests are now passing, but need to fix logical(0) behaviour of xAll/xAny