more code re-use in cbc test