Added test case for broken if-elses.