add unit test for sml-parser
minor changes