update tests in docs to "expect" format