reinstate optional '(default)' suffix for 'module avail'

reinstate optional `(default)` suffix for `module avail`, since it's ''''not''' stripped off with `--terse` in environment modules (it only is by `lmod`)

unit tests are enhanced to catch this problem should it occur again