refactoring slick test