Improve reflection tests