Pill testing debate to rage on in upper house