Added a convienence function for testing contexts.
Added some menu tests.
Removed pprint.