before matrix tests