updated summary and trend declarations out of except blocks, added logging for no data states, updated naming of missing data and 404 tests