Added unit tests for server.
Created initial server tests for demo.
Cleaned up servertests.dart.
Merge remote-tracking branch 'origin/master'