reduce test duplication