testing lambda copy