add missing tests for db utils
add tests for remote module