added server tests.