unittest: add configurability