Refs #9095. Fixed error in unit tests.

and also removed function call to remove masked detector in output
information table workspace.