Added initialization options to ease the gem setup in tests.