Gravar-mail: Pearson-type goodness-of-fit test with bootstrap maximum likelihood estimation