Added test for let/const and made it more accurate