refactored slick test