added tests and doc for get-mapping