Add tests and docs for status().