added test for fails to throw no variable exception on segment class 98