Add the test code in java/weather