add failing test for unexpected-and-undefined
fix failing test unexpected-and-undefined