Move examples from test to tests
review the scanner