adding a test for trigfuns restrict.