can now set G-S tolerance, updated tests