reduce test boilerplate