Fixing tests in result build.