test for db/api and compass/utils
-patch1: fix pep8 style

Change-Id: Ib952cc4e46732d0f2ccf8220c16c88e8e570796d