assertEquals(ct.newMemberName("prefix", "fred"), "_$prefix_fred_0");
// Here we're exposing a bit of the internal algorithm, which strips
// off '$' and '_' before tacking "_$" in front.
assertEquals(ct.newMemberName("prefix", "_fred"), "_$prefix_fred_1");
assertEquals(ct.newMemberName("prefix", "_$fred"), "_$prefix_fred_2");
assertEquals(ct.newMemberName("prefix", "__$___$____$_fred"), "_$prefix_fred_3");
verify();
}