Fix frozen mock warnings from being shown by our suite.

Closes: #593.