Converted DBKVOBlock to use shared singleton.

Added unit test target. Fixes #1 Fixes #2