Added Java version of SOM to tests

Signed-off-by: Stefan Marr <git@stefan-marr.de>