Added error handling for parseWeekToInt function.

This whole test should probably move over to the new `date_tests` file.