add syntax checking

Maybe we should fix the test matrix for all barclamps. 1.8, 1.9, 2.0 and 2.1 make sense at all.