added a test for get_peakdate_from_startdate() and generate_filename() functions