Tests that scripts panel does not create too many source frames.