Get dependencies of test code too.  Refactor command running