Fixed testcase.
Changes to support the position interface.