Testing a Repository