improved tests
improved examples