Final step for Release 1.2.
Initial check-in. A set of unit tests; not yet complete. Use runalltests.py to run all unit tests at once.