Added some testing code
added test server