add lint and parser tests, fix lint errors
update rakefile