Switched integration test to using DBIFactory instead of manually creating DBI instance