prepare db for testing