Made containsKey() transaction aware too. Fixed transaction tests.