Automatically discover headers for unit testing