update and pass tests. java now parses better than python.
remove method that did not need to be exposed as public.
update tests. with updated python-registry (v0.2.5.1), passes perfectly.