Add stack status to list command, small refactor to remove dup code in the tests