java. RestServer tests, #183.
java. Rest intergration tests, fixed #183.