using let in tests