helpers expect wd to be set
extract helpers
merge test files to reduce smells
move code