Added test code coverage for JIRA issue SGF-178 (https://jira.springsource.org/browse/SGF-178) - parent attribute causes endless loop in in hashCode.