renamed do to flow.
runs are called with an object as first argument
added sinon again, because i'm simply to lazy to compile it myself

Signed-off-by: Pascal Pflaum <pascal@heutewirdnichtmehrgearbeitet.de>