Add tests for no globals leaks.