test fixes, don't use real database, mock it or use in memory db