unit tests for installdb