Mock command for tests.