adds output sample test
6.3.4