Replaced assertNotEquals with assertNotSame to fix compile error.