Adding BeginLifetimeScope test