Deal with lens path for testing