Fix prepareResponseStart test