fix cli testing