Test for specifying target element.
Fix environment, update dependency versions.