An Empirical Study of Using Large Language Models for Unit Test Generation