Tests: Split out mock/utilities to separete file