Added constants to TestDB, added some safety code to TestProvider when it is validating the cursor, and fixed a null case in WeatherProvider.