Use the newly compiled code when running tests under build:full
Merge pull request #2710 from troels/fix-full-build-tests

Build:full sometimes uses old code when running tests.