Almost passing GDImateTest