Refactor OneSampleDifferenceTTest to use new layouts

Use condition layout and block layout rather than full
and reduced.
Add doctests