new helper functions in tests