test server refaktoring