run swagger specs test before server restart