Completed lesson 4a. Simplified DB tests.