Combined memory leak tests into the PKCS#11 tests