Integration Tests fixed.

Integration Tests are now also using QUANTUM environment variable to
find local database file.