test the optional sample test.