Update makefile to make 'test' target standalone.

Also run lint as part of test target.
Fix all pre-existing lint.