The bug as stated is probably invalid.
The -m option make sense only when creating a new account to specify the type.
Any following modification requires -r only.
pdbedit -a -m test$ works fine
pdbedit -r test$ -f foobar works fine as well
closing it, reopen if there is still some issue with pdbedit