revise specs to check stdout / stderr