added unittests. db support is growing. branch should not fail