Added test for inner class hash code test