add helpers for testing command output
use test helpers