Fixed failed test.
Added files for running on Travis CI. bugid:112598
Fixed that errors had occurred in some endpoints, and fixed some tests. bugid:112587