Tbh I'm tired and the only tests that fails fails by an order of magnitude of e-16, I'll fix it later