Refactor test methods

Refactor test methods in two ways:

  • Rename method names to follow a Given_aaa_When_bbb_Then_ccc
  • Split test methods into three sections using the AAA pattern (assemble, act, assert)