Add tests for various uses.