Remove unnecessary header dependency in test