Have seed_test.rb handle being used interactively *and* piped input.
Beginning of massive refactoring.