[UPDATE] extracted test utils.