more testing help functions