Fixed the test_api.py tests to pass. All original cookiecutter tests pass with exception of test_functionality.
Fixed upgrade/downgrade for database; captured most current database schema