added select to end of test DB setup