fix(qa): add new test dependency to db upgrade tests

- with commit f09448ad58d197995f85633a478edc86e6aa72ff the hamcrest
  library was added as test dependency of the engine and so it is
  also needed in the db upgrade test suite

related to #CAM-2628