How to for unit-testing using the Point class