[Lesson 4] implement getType in WeatherProvider and added more tests