Added test in test_confusion