Fix package import issue with RecursiveReferenceTestCase