Updated tests: Improve test_database creation to add stock history.