#1678 fixing problemw with form parameter and adding nose tests
#1641 making test check API call as well

- also renaming util function
Merge pull request #1760 from OCHA-DAP/sprint-39-small-changes

Pull requ: Sprint 39 small changes