added server tests
Merge pull request #4 from yzernik/server_tests

added server tests