Test patterns and deterministic patch awareness