test/BeanRepositoryTest: Minor import order fix.
test/BeanRepositoryTest: Add an assert.