Functional tests for `wp shell`

It turns out it's not that hard to test the output from `wp shell`, once you realize that it just reads input from STDIN.