add basic test and fix syntax errors uncovered by the test
add basic test and fix syntax errors uncovered by the test

FredXue/boomerang,sdgdsffdsfff/boomerang,lognormal/boomerang,levexis/boomerang,FredXue/boomerang,forcedotcom/kylie,levexis/boomerang,sdgdsffdsfff/boomerang,lognormal/boomerang,forcedotcom/kylie,yahoo/boomerang