added bloom checks in tests
fixed a bunch of tests