Reran unit tests for N=9, found that is_integral breaks again for this value.