test to make sure lint errors are being thrown properly