Added tests and docs for the get method.
Added the get method.