copy btn fix attempt
added test flag