Fixes database disconnect on testing