product deleted test changed for boolean value