code: fix mechanical Study allowlist test commands