Update tests.
More coverage of APIs.