[finishes #53934269] jasmine-ci command returns non-zero exit code on failure

Separated TestServerThread to top-level class.