fixed a typo added tests added lang defintions