update examples and a test for simpler 'require'