Added TestGenerator for speed testing