Tests and examples update.