include stderr when raising CallProcessError
call im command that compute phase
add tests