avoid NameError in test