Tests for the barycentric codes.