tests as examples of using try and option. updated some version of maven plugins
(cherry picked from commit 5a36c07)
changing in signatures of methods.