Added TestCase for ListCommand