tool test for generate one time password