[Ian] added tests for handling empty date