On the distribution of the decisive sample number of certain sequential tests