test: move uncachedkeyring test setup into BeforeClass method