add test for checkout command