Test for bytecode generation.