fixed test
added controller and java client