TESTS: added alternative code path test for dynamic method invocations.