Fix tests for completion

Remove "Hashable" from expected proposals
Support JAVA_ONLY case in tests