Adds test for failing scenario