Use mock server in test to fix CI build