Improved the can delete tests