* refactored XOR network test