Old implementation of setCenter method.

Work-in-progress setCenter has been renamed to testCenter.

[1303]