Use a temporary file, not a pipe, for BN test because there are some