Fixed trusted contract tests.