Clean up the material test, still incomplete.