Updated the code generation testing system to work on Linux
Added Java code generation for the thread id expression (initial) and added test example