Bug 1083004 - Fix crashes for tests. r=dbaron
Bug 1083004 - Create anonymous ruby base container when necessary. r=bz