move rest api tests to functionals
Merge pull request #1320 from danmcp/master

Getting more accurate coverage numbers