Added / fixed tests G100-G300. Added minor fixes.