Update JavaGuide2.md

Hello, I would make the Task creation with a create function in the test class like you did for Project. In the current version new Task is used and it seam to fail the test(at least mine failed). Please check out the proposed sources.