Fixing test dependencies. Adding more doc and examples.