now correctly uses headers for asserts and mocks