Fix for intermittent junit errors when Cobertura runs only

This one is odd because no matter how many times we run junit tests it doesn't fail. When we run using Cobertura which uses debug compile arguments, we see intermittent failures in the db connection testing.