Refs #21628 -- removed one usage of the imp module in the tests. It is deprecated in Python 3.4