test: add invalid server cases