added tests for cluster methods, added hasItem and hasTransaction checkers