added test for 0 value samples