Some schemagraph improvements and a test