Add a test for the chroot context that mocks subprocess.run() and subprocess.check_call(). The test verifies that the functions are called the expected number of times with the expected command (first arg).