tests for decimal elements + equals() + hashCode()