@Test
public void testFoo() {

	Foo foo = repository.query(new Foo()).list().get(0);
	Reference<Foo> reference = new Reference<Foo>(foo);
	assertEquals(Row.getID(foo), Row.getID(repository.lookup(reference)));
}