test: hop_tasks: moving exit code tests to dart scripts

hoping to make things a bit easier for cross-plat testing

...assumes 'dart' is in the path, though