Added Test and Stament for the marking of Resource for deletion