Testing a lens