Recreate tests from WP CLI

Signed-off-by: Paul de Wouters <paul@hmn.md>