Corrected SQLException in DBHistoricalPrices.getDBPrices() due to premature closing of dbConnection. Wrote and passed unit test.