create test db data from models instead of hardcoded file

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
create pubsub message from models, too

Signed-off-by: Tomas Neme <lacrymology@gmail.com>