Its clear now. Agreed ! The tests should be written in a way that they should either pass or fail and not give "not defined" errors.