fixed lensing engine unit tests
(#305)