Update examples and tests