Test taint functions