Fixed #2 completed functional tests for apis.
Merge pull request #70 from yeukhon/master

Fixed #2 completed functional tests for apis.