Revert "Revert "WFCORE-68 move cli tests from wf to core""

Replaces #177