added test helpers