Add visibility modifiers to Test task