Only run linearity tests locally