Refactored so that easy command invoking is reusable
Moved test utils to separate package to avoid confusion with tests of
util classes