#42 added unittest