unit tests for install db