Add a context manager interface for bind_as() + restore_alias().
Add tests for bind_as().