passing command to tests in tests/lib/command