Added tests to make sure the repository class is final and that it implements the right interface.