Migrate packaged logging to groovy
fix command in external algorithm test