Updated test for sample attributes