add unittest, additional options 0.2.0