Fixed relative paths to app code in api tests