refactored test suite to use let syntax