prepare for unit tests using the way wp-cli does it