Added sample tests and docs