Fix javassist usage in base test.