tests: transformed tests/bloom into an unittest
Merge pull request #2182 from phiros/tests_bloom_transform_into_unittest

tests: transformed tests/bloom into an unittest