untested gap simulation and detection