MDL-41572 pass through question behaviour vars with correct prefix

Through prepare_simulated_post_data. Also includes unit tests for
multiple attempts and tries.