Part of the problem may be in how you are using the second site. It’s a folder within an existing site, as opposed to just the main secondary site itself.
The path to the system directory will probably need to be a server path, instead of a relative path. But before we troubleshoot that part, can we get you to do the following:
Create a phpinfo.php file with the following contents:
<?php phpinfo(); ?>and upload it to your /test folder? There are a few settings I’d like to check.