Move from using php-eval to core-script for easier debugging in testDispatchUsingAlias.