triangle: Fix copy and paste thinko

The init_from_point3d() initializer is overwriting the 'b' vertex if
NULL is passed for the 'c' vertex.
tests/triangle: Improve coverage