added a preference map and test to exchange context
added a test for non equality of pref maps