Fix test errors

see #29