arb: use new-style enabler for generic operations.
arb: improve the exception safety of string ctor and some cleanup in the test file.