dynamic binding redirect in test

binding redirect in code to avoid need to update the bindingredirect in
app.config for TestAssembly.dll
Merge branch 'release-5.0.0' into develop