point class, tests