Cleaned up a bunch of tests.

Still todo: ppa_spec.rb and source_spec.rb.