Edit test cases to support network profile and policy profile as separate tables. Add getheader method.