#196 fix bug in test