JS backend: test for hashCode overload / override