Add testing to Rest API when server starts.
Add testing to Rest API when server starts.