profile: wip: writing tests for db