Brooklyn judge puts alleged drug smuggler on short leash after failed drug test