optimize stomp tests