Added canUseIfPresent test