Tests for ce.Surface#getNearestCorrectOffset

Change-Id: I0acabc427fe28ffa77a15c62b284524496b2caaa
Merge "Tests for ce.Surface#getNearestCorrectOffset"