add demo server and its test