test demos against their reference images to allow for some numerical instability