Portfolio::retrieveLastDate() behaviour changed, as well as tests accordingly