more tests for the client

use express module to simplify.