fix errors in lang unit test