WFCORE-68 move cli tests from wf to core

somewhat cleanup testsuite & make it work better under ipv6
Why was this changed?