added unit tests for format_week and format_year helper methods
refactored get_first_day_index method, eliminated get_first_day method and associated unit tests