add test for polyline with object property as location