TST: putmasking changing dtype when not necessary