got actionFns working with unit tests