Removed/refactored unneccessary duplication.

Moved new test for dumping nils to complete_example.go.
Removed duplicated test from complete_example.go (it's already in
small_example.go).
Combined two identical "for all ./tests/*.go files" loops into one "for
the two commands" loop.