add tests for info command