+ added try/except to run code for generating a test db
- removed print statement from api_entries