Also in Nashorn everything has hashCode including primitive types, so the result can be different at Nashorn and at other engines.
Move those tests which do not require neither stdlib nor reflect