move some test from mod-lang to api.
Merge pull request #46 from stream1984/move-test

move some test from mod-lang to api.