testing close statement