Edit structure of tests and add Java and G++ compiler