lint and add a test