Refactored custom manager tests. Refs #18586