DRYed proxy's tests