Cleanup lint warnings from recent testing changes

Also, relaxed a rule for dot notation (and unrelaxed it in src).