Add unit tests for advanced date parsing