Testing assumptions of linear regression