added tests dir
added simpler example in examples directory