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