Adds tests for prefill functionality.