Added test to make sure server callback is called when stop() is called