use before to make tests more compact