Strip path arg from object initialization during testing.

Update API->new() in test.pl call since 'path' is no longer needed.