Added let function to tets