Without seeing an example of the includes, it's difficult to offer suggestions. I'll take a stab in the dark though.
Both the file
and virtual
attributes depend completely on how the web server in question is configured.
The file
path depends on how the filesystem is made available to the relevant web server - try traversing to the file
path from the point where it's called on both your 'local' and 'test' web servers.
The virtual
path depends on how the document root is mapped to URIs being called against the relevant web server - try requesting the virtual
URI path against both your 'local' and 'test' web servers.
These debugging steps should indicate where the configuration differs between the two environments.