fix date issue in command test