add test for time command