fix more func tests
fixes
fix allowed headers