checking the RESUME functionality