move tests to examples