Add a test to get from database
Merge pull request #21 from uber/fix/ca/add_get_from_db_test

Add a test to get from database