Update ladder_test.go

Rearranged file to put test graph tests and benchmarks together because they were getting too far apart as more kinds of sample graphs were added. Introduced helper routine to reduce copied code.