Fix broken polynomial tests
Fix broken linear function tests