Rudimentary lenses.

Also, rudimentary test setup.