refactor examples, add testing notes