Fix test cases in ReferencePointTests
Merge pull request #2556 from Randy-Ma/master

Fix test cases in ReferencePointTests