add unittest for #59