Convert test_contains, test_crypt, and test_select to unittest.

Patch from GHOP 294 by David Marek.
4 files changed