Fixing expected failure message in test