kie-wb-tests: fixes to some tests, added JSON Task test