test code for at command