test for barycentric and weighted average accuracy