Reduce test boilerplate