Added a test for behavior before a semester is created
Re-wrote the _extract_semester function