* prepared tests to report errors via exceptions
* pairmap interface tweaks
* fixed dynpairmap::swap