private static Stream<Arguments> invalidCodeArguments() {
    return Stream.of(
            IntStream.rangeClosed(0x0c, 0x0f),
            IntStream.of(0x1e, 0x1f),
            IntStream.rangeClosed(0x21, 0x2f),
            IntStream.rangeClosed(0x4b, 0x4f),
            IntStream.rangeClosed(0xa5, 0xaf),
            IntStream.rangeClosed(0xb0, 0xcf),
            IntStream.rangeClosed(0xd4, 0xdf),
            IntStream.rangeClosed(0xe9, 0xeb),
            IntStream.of(0xef, 0xf6, 0xfc))
        .flatMapToInt(i -> i)
        .mapToObj(i -> String.format("%02x", i) + ZERO_HEX)
        .map(Arguments::arguments);
  }
These tests focus on code-only validations, which are checked within the code runs themselves.
Tests that depend on the EOF container (such as CallF into other sections) are in EOFLayoutTest.
evm/src/test/java/org/hyperledger/besu/evm/code/CodeV1Test.java