tests for #42 added.