change expectSettings() syntax
update examples