Fixed findbugs. assertEquals not assertSame when comparing integers