write sample test