add test for point compression