Explain the assumptions behind linear regression and how you would test if they are violated in a given dataset.