added license
more tests and syntax updates