Make Prepare test dialect agnostic

The 'true' literal doesn't play well with some SQL dialects