fixed bug with deserializing Variable
added imp and imp++ to the tests for java_rewrite_engine