added server spec tests
added server spec tests