Restore ST_Force2D and 3D tests

Restore the tests. Fix  #274