init rest server with schema routing and test