Minor change on semantic analysis
Added more tests with javassist and reflection