Fixed output path on core.tests for release mode