fixed an issue with negative error being thrown when no negative properties given, and added tests for xIs