fixes #4607 error when running test from ide
Fixes #4515 - Add support for dynamic bindings