How to test linearity of an assay