That basically says that the unit test runner is starting up as a 32-bit process. How you configure that will depend on which unit test runner you're using (there are many of them).
When you're running your unit tests, any preference your application assemblies have in terms of architecture will be ignored compared with the unit test runner's configuration - whereas when you're running standalone, the build configuration (e.g. "AnyCPU prefer x86" or just "AnyCPU") will be relevant.
If you really, really need your unit tests to be running in x64, you should look at how you run them - and if you can't change how they're run in VS, you might at least be able to run them in a standalone runner which may well support x64 more easily.