Updated documentation to include sample test.