getPoints and getMaps in App.pm added. improved test cases added.