Convert Hamcrest test assertions to AssertJ

- AssertJ is a nicer assertion library than Hamcrest and actively
  maintained at the moment
- Hamcrest is no longer in this codebase