add constructor to Syntax
add some tests