add z value ordinate
fix test