Change err message to reflect that string is empty
Stub server factory and handler